package com.wey.feign;

import com.wey.R;
import com.wey.feign.fallback.UserFeignFallbackFactory;
import com.wey.vo.UserVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "wey-user", fallbackFactory = UserFeignFallbackFactory.class)
public interface UserFeignClient {

    @GetMapping("/user/querUser")
    R<UserVo> querUser();
}
